import request from '@/utils/request'

// 查询告警记录列表
export function listAlarmRecord(query) {
  return request({
    url: '/project/record/list',
    method: 'get',
    params: query
  })
}

// 查询告警记录详细
export function getAlarmRecord(id) {
  return request({
    url: '/project/record/' + id,
    method: 'get'
  })
}
